
/*
 * @Description: 
 * @Project: 
 * @Author: michelle
 * @Date: 2022-02-23 16:38:47
 * @LastEditors: michelle
 * @LastEditTime: 2022-02-23 16:50:14
 * @Modified By: michelle
 * @FilePath: /vite-project/src/services/index.jsx
 */
import http from '@/utils/http'

// 通过账号密码登录
export function setLogin(data) {
    return http.post('/passport/local', data)
}

// 退出登录
export function setLogout() {
    return http.get('/logout')
}